package HomeElements;

import android.support.test.uiautomator.By;
import android.support.test.uiautomator.BySelector;

/**
 * Created by zhe.xiao on 2017/6/26.
 */

public class TanBySelectorElementType {
    /**
     *是否出现升级按钮
     */
    public static BySelector shengJi(){
        return By.text("立即升级");
    }

    /**
     * 关闭升级提示窗口
     */
    public static BySelector shengJiGuanBi(){
        return By.res("com.mqunar.atom.attemper:id/atom_atte_iv_close");
    }

    /**
     * 接机送弹框
     */
    public static BySelector jieJiSongTan(){
        return By.res("com.mqunar.atom.car:id/atom_car_trip_card_introduce");
    }

    /**
     * 接机送弹窗关闭按钮
     */
    public static BySelector jieJiSongClose(){
        return By.res("com.mqunar.atom.car:id/atom_car_trip_close");
    }

    /**
     * 接机送的页面知道了的弹窗
     */
    public static BySelector jieJiSongZhi(){
        return By.textStartsWith("知道了");
    }
}
